<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
     <h3>表单上传文件->传统方式</h3>
     <h4>上传文件表单不同</h4>
     <h4>(1)method="post"</h4>
     <h4>(2)enctype="multipart/form-data" 将表单转换二进制格式发送数据</h4>
     <form action="upload.php" method="post" enctype="multipart/form-data">
         <label for="mypic">文件名</label>
         <input type="file" name="mypic" id="mypic"/> <br>
         <input type="submit" value="提交">
     </form>
</body>
</html>